package cn.topevery.garden.entity.dto.flow;

import hw.topevery.af.entity.enums.ReceiveTypeEnum;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author Yong.Chen
 * @date 2021/5/20
 * @description
 */
@Data
@Api(tags = "案件调度")
public class DispatcherFlowPara implements Serializable {

    /**
     * 调度原因
     */
    @ApiModelProperty(value = "案件调度原因")
    private String dispatcherReason;

    /**
     * 案件id
     */
    @ApiModelProperty(value = "案件id")
    private String evtId;

    /**
     * 环节实例id
     */
    @ApiModelProperty(value = "环节实例id")
    private String targetActInstanceId;

    /**
     * 当前流程id
     */
    @ApiModelProperty(value = "案件流程实列id,前端不传",hidden = true)
    private String wfInstanceId;

    /**
     * 当前环节的实例id
     */
    @ApiModelProperty(value = "当前环节实例id,前端不传",hidden = true)
    private String curActInstId;

    /**
     * 目标环节接收对象
     */
    @ApiModelProperty(value = "调度目标环节,前端不传",hidden = true)
    private String targetActivityIdentifier;

    @ApiModelProperty(value = "环节接收对象类型",hidden = true)
    private ReceiveTypeEnum targetReceiveObjType;

    @ApiModelProperty(value = "环节接收对象id",hidden = true)
    private String targetReceiveObjId;

    @ApiModelProperty(value = "环节接收对象名称",hidden = true)
    private String targetReceiveObjName;

    @ApiModelProperty(hidden = true)
    private String userId;

    @ApiModelProperty(hidden = true)
    private  String userName;

}
